package com.xbs.entity;

import java.sql.Date;

/**
 * 车表，顺风车，车型表实体类
 * 
 * @author dell
 */
public class CarAndHitchEntity {
	// 车表
	/**
	 * 自增id
	 */
	private int id;

	/**
	 * 车牌号
	 */
	private String car_id;

	/**
	 * 车型号
	 */
	private int car_model_id;

	/**
	 * 车类型
	 */
	private String car_type;

	/**
	 * 所在门店
	 */
	private int car_store_id;

	/**
	 * 车状态
	 */
	private int car_status;

	// 车型表
	/**
	 * 车型编号（主键）
	 */
	private String carmodelid;

	/**
	 * 车型名称
	 */
	private String carmodelname;

	/**
	 * 品牌
	 */
	private String carmodeltype;

	/**
	 * 年代款
	 */
	private String carmodelyear;

	/**
	 * 座位数
	 */
	private Integer seating;

	/**
	 * 车门数
	 */
	private Integer doornumber;

	/**
	 * 燃料类型
	 */
	private String fueltype;

	/**
	 * GPS导航
	 */
	private String carmodelgps;

	/**
	 * 座椅
	 */
	private String carmodelseat;

	/**
	 * 车图片
	 */
	private String carmodelimage;

	/**
	 * 日均租金
	 */
	private double rentcash;

	/**
	 * 基本保险
	 */
	private double insurance;

	/**
	 * 自选折扣
	 */
	private double discount;

	// 顺风车表
	/**
	 * 顺风车的编号
	 */
	private String hitch_id;
	/**
	 * 顺风车状态
	 */
	private Integer hitch_status;
	/**
	 * 起始时间
	 */
	private Date hitch_time;
	/**
	 * 还车时间
	 */
	private Date hitch_return_time;
	/**
	 * 取车门店编号
	 */
	private int hitch_num;
	/**
	 * 还车门店编号
	 */
	private int hitch_return_num;
	/**
	 * 租车期限
	 */
	private int hitch_day;
	/**
	 * 租金
	 */
	private Double hitch_money;
	
	public CarAndHitchEntity() {
		super();
	}
	
	public CarAndHitchEntity(int id, String car_id, int car_model_id, String car_type, int car_store_id, int car_status,
			String carmodelid, String carmodelname, String carmodeltype, String carmodelyear, Integer seating,
			Integer doornumber, String fueltype, String carmodelgps, String carmodelseat, String carmodelimage,
			double rentcash, double insurance, double discount, String hitch_id, Integer hitch_status, Date hitch_time,
			Date hitch_return_time, int hitch_num, int hitch_return_num, int hitch_day, Double hitch_money) {
		super();
		this.id = id;
		this.car_id = car_id;
		this.car_model_id = car_model_id;
		this.car_type = car_type;
		this.car_store_id = car_store_id;
		this.car_status = car_status;
		this.carmodelid = carmodelid;
		this.carmodelname = carmodelname;
		this.carmodeltype = carmodeltype;
		this.carmodelyear = carmodelyear;
		this.seating = seating;
		this.doornumber = doornumber;
		this.fueltype = fueltype;
		this.carmodelgps = carmodelgps;
		this.carmodelseat = carmodelseat;
		this.carmodelimage = carmodelimage;
		this.rentcash = rentcash;
		this.insurance = insurance;
		this.discount = discount;
		this.hitch_id = hitch_id;
		this.hitch_status = hitch_status;
		this.hitch_time = hitch_time;
		this.hitch_return_time = hitch_return_time;
		this.hitch_num = hitch_num;
		this.hitch_return_num = hitch_return_num;
		this.hitch_day = hitch_day;
		this.hitch_money = hitch_money;
	}



	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCar_id() {
		return car_id;
	}
	public void setCar_id(String car_id) {
		this.car_id = car_id;
	}
	public int getCar_model_id() {
		return car_model_id;
	}
	public void setCar_model_id(int car_model_id) {
		this.car_model_id = car_model_id;
	}
	public String getCar_type() {
		return car_type;
	}
	public void setCar_type(String car_type) {
		this.car_type = car_type;
	}
	public int getCar_store_id() {
		return car_store_id;
	}
	public void setCar_store_id(int car_store_id) {
		this.car_store_id = car_store_id;
	}
	public int getCar_status() {
		return car_status;
	}
	public void setCar_status(int car_status) {
		this.car_status = car_status;
	}
	public String getCarmodelid() {
		return carmodelid;
	}
	public void setCarmodelid(String carmodelid) {
		this.carmodelid = carmodelid;
	}
	public String getCarmodelname() {
		return carmodelname;
	}
	public void setCarmodelname(String carmodelname) {
		this.carmodelname = carmodelname;
	}
	public String getCarmodeltype() {
		return carmodeltype;
	}
	public void setCarmodeltype(String carmodeltype) {
		this.carmodeltype = carmodeltype;
	}
	public String getCarmodelyear() {
		return carmodelyear;
	}
	public void setCarmodelyear(String carmodelyear) {
		this.carmodelyear = carmodelyear;
	}
	public Integer getSeating() {
		return seating;
	}
	public void setSeating(Integer seating) {
		this.seating = seating;
	}
	public Integer getDoornumber() {
		return doornumber;
	}
	public void setDoornumber(Integer doornumber) {
		this.doornumber = doornumber;
	}
	public String getFueltype() {
		return fueltype;
	}
	public void setFueltype(String fueltype) {
		this.fueltype = fueltype;
	}
	public String getCarmodelgps() {
		return carmodelgps;
	}
	public void setCarmodelgps(String carmodelgps) {
		this.carmodelgps = carmodelgps;
	}
	public String getCarmodelseat() {
		return carmodelseat;
	}
	public void setCarmodelseat(String carmodelseat) {
		this.carmodelseat = carmodelseat;
	}
	public String getCarmodelimage() {
		return carmodelimage;
	}
	public void setCarmodelimage(String carmodelimage) {
		this.carmodelimage = carmodelimage;
	}
	public double getRentcash() {
		return rentcash;
	}
	public void setRentcash(double rentcash) {
		this.rentcash = rentcash;
	}
	public double getInsurance() {
		return insurance;
	}
	public void setInsurance(double insurance) {
		this.insurance = insurance;
	}
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	public String getHitch_id() {
		return hitch_id;
	}
	public void setHitch_id(String hitch_id) {
		this.hitch_id = hitch_id;
	}
	public Integer getHitch_status() {
		return hitch_status;
	}
	public void setHitch_status(Integer hitch_status) {
		this.hitch_status = hitch_status;
	}
	public Date getHitch_time() {
		return hitch_time;
	}
	public void setHitch_time(Date hitch_time) {
		this.hitch_time = hitch_time;
	}
	public Date getHitch_return_time() {
		return hitch_return_time;
	}
	public void setHitch_return_time(Date hitch_return_time) {
		this.hitch_return_time = hitch_return_time;
	}
	public int getHitch_num() {
		return hitch_num;
	}
	public void setHitch_num(int hitch_num) {
		this.hitch_num = hitch_num;
	}
	public int getHitch_return_num() {
		return hitch_return_num;
	}
	public void setHitch_return_num(int hitch_return_num) {
		this.hitch_return_num = hitch_return_num;
	}
	public int getHitch_day() {
		return hitch_day;
	}
	public void setHitch_day(int hitch_day) {
		this.hitch_day = hitch_day;
	}
	public Double getHitch_money() {
		return hitch_money;
	}
	public void setHitch_money(Double hitch_money) {
		this.hitch_money = hitch_money;
	}
	
	
	
	
	
	
	
	
	
	
}
